package com.yb.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/10 14:46
 * FileName: MediaTypeEnum
 * Description:
 */

@Getter
@AllArgsConstructor
public class MediaFilesEnum {
//    [{"code":"001001","desc":"图片"},{"code":"001002","desc":"视频"},{"code":"001003","desc":"其它"}]



    @Getter
    @AllArgsConstructor
    public enum MediaType{
        IMAGE("001001","图片"),
        VIDEO("001002","视频");

        private String code;
        private String desc;
    }

    @Getter
    @AllArgsConstructor
    public enum Status{
        NORMAL("1","正常"),
        NOT_DISPLAY("0","不展示");

        private String code;
        private String desc;
    }
}
